package com.red.work;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

import java.util.logging.Logger;

@ComponentScan
@EnableWebMvc
@SpringBootApplication
public class SpringbootApplication {

    private static Logger logger = Logger.getLogger("SpringbootApplication");

    public static void main(String[] args) {
        SpringApplication.run(SpringbootApplication.class, args);
        logger.info("=================springboot start success!===========================");
    }


}
